package com.wl.common.system.support.vo;


import com.wl.common.core.web.dto.AbstractBaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 角色表
 *
 * @author wanglin
 * @since 2023-09-18
 */
@Data
@Schema(description = "角色表")
public class SysRoleVO extends AbstractBaseVO {

    /**
     * 角色code
     */
    @Schema(description = "角色code")
    private String code;
    /**
     * 描述
     */
    @Schema(description = "描述")
    private String description;
    /**
     * 角色名称
     */
    @Schema(description = "角色名称")
    private String name;
    /**
     * 排序号
     */
    @Schema(description = "排序号")
    private Integer orderIndex;
    /**
     * 状态,0:正常 ；1:禁用
     */
    @Schema(description = "状态,0:正常 ；1:禁用")
    private Integer status;

    /**
     * 菜单组
     */
    @Schema(description = "菜单id")
    private List<String> menuIds;

    /**
     * 资源id
     */
    @Schema(description = "资源id")
    private List<String> resourceIds;
}